package com.three.controller;

import com.three.aop.LogAnotation;
import com.three.service.ShopkeeperchangeService;
import com.three.vo.R;
import com.three.vo.ShopkeeperchangeVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/shopkeeperchange")
public class ShopkeeperchangeController {
    @Autowired
    private ShopkeeperchangeService ShopkeeperchangeService;
    //查询所有调动信息
    @PostMapping("/getAll")
    public R getAll(Integer currentPage, Integer pageSize, @RequestBody ShopkeeperchangeVo shopkeeperchangeVo){
        return ShopkeeperchangeService.getAll(currentPage, pageSize, shopkeeperchangeVo);
    }
}
